package itd.exceptions;

public class ITDException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	Exception innerException =null;

	public ITDException (Exception e){
		this.setInnerException(e);
		
	}

	public void setInnerException(Exception innerException) {
		this.innerException = innerException;
	}
	public Exception getInnerException() {
		return this.innerException ;
	}
	public String getMessage(){
		return innerException.getMessage();
		
	}
}
